How to use vscode as git editor
Stackoverflow gives Instructions to make vscode as git editor.
- Ensure
Codeis on shell path - Set
Codeas the git editorgit config --global core.editor "code --wait" - Use
Codeto edit configurationsgit config --global -e

- Add configurations to use
Codeas default diff tool[diff] tool = default-difftool [difftool "default-difftool"] cmd = code --wait --diff $LOCAL $REMOTE